package com.scenic.common.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class StrategyGuide implements Serializable {
    private Long id;
    private String title;
    private String content;
    private String description;
    private String destination;
    private Integer travelDays;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date departureDate;
    private Integer numberOfTravelers;
    private String budgetRange;
    private Integer tripType;
    private String pic;
    private Integer userId;
    // 评论
    private List<Comment> comments;
    // 对应的用户
    private User user;

}
